from GetLink import GetLink

def main():
    url = "http://vnexpress.net/"
    blk = GetLink(url)
    #for link in blk.get_links(): print(link)
    i=1
    for link in blk.get_links():
        print("{}. {}".format(i,link))
        
        sub_link = GetLink(link)
        print(sub_link.get_links())
        
        i=i+1
        

if __name__ == "__main__":main()
